package com.qixin.part.bean;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 每个人员分配资产记录
 * </p>
 *
 * @author 薛向毅
 * @since 2018-09-29
 */
@TableName("pt_people_recharge")
public class PtPeopleRecharge extends Model<PtPeopleRecharge> {

    private static final long serialVersionUID = 1L;

	private Long id;
    /**
     * 企业ID
     */
	@TableField("user_id")
	private Long userId;
    /**
     * 某用户ID
     */
	@TableField("people_id")
	private Long peopleId;
    /**
     * 本次分配资金
     */
	private Integer moeny;
    /**
     * 是否开票 1 已开  2 未开
     */
	@TableField("open_text")
	private Integer openText;
    /**
     * 创建时间
     */
	@TableField("create_time")
	private Long createTime;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Long getPeopleId() {
		return peopleId;
	}

	public void setPeopleId(Long peopleId) {
		this.peopleId = peopleId;
	}

	public Integer getMoeny() {
		return moeny;
	}

	public void setMoeny(Integer moeny) {
		this.moeny = moeny;
	}

	public Integer getOpenText() {
		return openText;
	}

	public void setOpenText(Integer openText) {
		this.openText = openText;
	}

	public Long getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Long createTime) {
		this.createTime = createTime;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "PtPeopleRecharge{" +
			"id=" + id +
			", userId=" + userId +
			", peopleId=" + peopleId +
			", moeny=" + moeny +
			", openText=" + openText +
			", createTime=" + createTime +
			"}";
	}
}
